/*
Theme Name: dlf5.com
Theme URI: http://dlf5.com/
Description: 邓林锋个人官方网站样式 作者：邓林锋
*/

/*------------------
	Reset 样式重置
---------------- */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var,optgroup{font-style:inherit;font-weight:inherit;}del,ins{text-decoration:none;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:baseline;}sub{vertical-align:baseline;}legend{color:#000;}input,button,textarea,select,optgroup,option{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;}input,button,textarea,select{font-size:100%;}

/*清除浮动*/
hr{border:0 #ccc solid;border-top-width:1px;clear:both;height:0}
/* Clear Floated Elements   */
.clear {
    clear: both;
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0;
}
.left {
    float: left;
}
.right {
    float: right;
}
/* -------------------------------
		全体布局
------------------------------- */
#header {
    width: 100%;
    min-width:990px;
    height:100px;
    border-bottom:#8db449 solid 4px;
}
#main,#header-info,#colophon {
    width:990px;
    margin: 0 auto;
}
#banner {
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}
#container {
    margin-bottom:40px;
}
#content {
    float: left;
    width:720px;
    min-height:400px;
    margin-bottom:20px;
}
#sidebar {
    float:right;
    width:220px;
    min-height:400px;
    margin-bottom: 10px;
}
#footer {
    clear: both;
    width: 100%;
    min-width:990px;
    height:80px;
    background:#2178c7;
    border-top:#a0bf33 solid 20px;
}
/* ----------------------------
	Fonts 全体字体
-------------------- */
input,
textarea,
.page-title span,
.pingback a.url,#copyright {
    font-family: Georgia, "Bitstream Charter", serif;
}
input[type=submit] {
    font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
}
pre {
    font-family: "Courier 10 Pitch", Courier, monospace;
}
code {
    font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
a:visited,a:link {
    color: #333333;
}
a:active,a:hover {
    color: #ff4b33;
}
/* ------------------------
		Header
------------------------- */
#header-logo {
    float:left;
    display:block;
    width:300px;
    height:80px;
    margin-top:20px;
    background:url('../images/logo.png') no-repeat;
}
#header-logo span {
    display:none;
}
/* ---------------------
		Menu
---------------------- */
#menu {
    float:right;
    font-size: 13px;
    margin-left: 10px;
    margin-top:40px;
}
#menu ul {
    list-style: none;
    margin: 0;
    float:right;
}
#menu li {
    float: left;
    padding:5px;
    position: relative;
}
#menu a {
    color: #333333;
    display: block;
    line-height: 38px;
    padding: 0 20px;
    font-size:20px;
    font-weight:bold;
    text-decoration: none;

}
#menu li a:hover {
    background: #a0bf33;
    color: #ffffff;
}
#menu .active a {
    background: #2178c7;
    color: #ffffff;
}
/* -------------------------
		Content
-------------------------- */
#main {
    clear: both;
    overflow: hidden;
    padding: 25px 0 0 0;
}
.post-text {
    margin-bottom:25px;
    overflow:hidden;
    clear: both;
}
.post-text .title {
    height: 50px;
    line-height: 21px;
    overflow: hidden;
    position: relative;
    margin-bottom: 10px;
    border-bottom: 1px #8db449 solid;
    padding-bottom: 5px;
}
.post-text .title a {
    text-decoration:none;
}
.title .author,#commentlist .author{
    display:block;
    width:43px;
    height:43px;
    float:left;
    border:#cccccc 1px solid;
    padding:2px;
    background:url('../images/author.png') no-repeat #ffffff ;
}
.title .line_h {
    background: none repeat scroll 0 0 #D7D7D7;
    float: left;
    font-size: 1px;
    height: 41px;
    line-height: 1px;
    margin: 2px 9px 0 10px;
    overflow: hidden;
    width: 1px;
}
.post-text .title h3 a,.post-text .title h3 {
    font-family: "微软雅黑","黑体";
    font-size: 22px;
    font-weight: normal;
}
.post-text .title p {
    font-size:14px;
    color: #777777;
    padding-top: 5px;
}
.post-text .title p a {
    color: #333333;
    text-decoration: underline;
}
.post-text .title p a:hover {
    color: #CC0000;
    text-decoration: underline;
}
.post-text .title a.up {
    background-position: 0 0;
    color: #FFFFFF;
    font-family: Georgia;
    font-size: 14px;
    font-weight: bold;
    height: 44px;
    overflow: hidden;
    padding-top: 6px;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    width: 50px;
    background:url('../images/title-up.png') no-repeat ;
}
.post-text .post-banner {
	padding: 15px 0 0 0;
}
.post-text .text h2 {
    font-family: "微软雅黑","黑体";
    font-size: 22px;
    font-weight: normal;
    padding: 5px 0 12px;
}
.post-text .text p{
    clear: both;
    margin: 0;
    padding: 7px 0;
    width: 720px;
    font-size:14px;
    line-height:24px;
}
.post-banner a img {
    float: left;
    width:100px;
    height:100px;
}
.post-banner img {
    border: medium none;
    margin: 0;
    padding: 0 0 20px 0;
    background:url('../images/title-img-bg.png') bottom ;
}
.tools-bar{
    width:720px;
    height:auto;
    padding-bottom: 5px;
    border-bottom:#999999 dashed 1px;
}
.tools-bar ul, .tools-bar ul li {
    float:left;
}
.browse {
    padding-left:20px;
    background:url('../images/browse-icon.png') no-repeat ;
}
.tools-bar .more {
    float:right;
    font-size:14px;
    font-weight:bold;
    margin-right: 5px;
}
.append-info {
    float:left;
    position:relative;
    width:720px;
}

.top {
    display:block;
    width:28px;
    height:28px;
    background:url('../images/top.png') no-repeat ;
}
/* -------------------------
		sidebar  边栏
-------------------------- */
.search {
    height: 27px;
    padding: 3px 3px 0 5px;
    width: 210px;
    border:#cccccc solid 1px;

}
.search input {
    border: 1px solid #FFFFFF;
    color: #777777;
    float: left;
    font-size: 14px;
    height: 21px;
    line-height: 21px;
    outline: medium none;
    width: 160px;
}
.search .so {
    border: medium none;
    cursor: pointer;
    float: left;
    height: 24px;
    margin-left: 6px;
    width: 40px;
    background:url('../images/so.png') no-repeat ;
}
#sidebar .portlet-title {
    background:url('../images/title-h1.png') no-repeat ;
    float: left;
    height: 25px;
    margin: 30px 0 20px;
    overflow: hidden;
    padding: 8px 0 0 11px;
    width: 209px;
    overflow: hidden;
    color:#FFFFFF;
    font-weight: bold;
}
.category li {
    border-bottom: 1px dotted #cccccc;
    float: left;
    font-size: 14px;
    line-height: 26px;
    width: 220px;
    padding-left:10px;
}
.category li a {
    text-decoration:none;
}
.category li.none {
    border-bottom: medium none;
}

/* -------------------------
		footer 
-------------------------- */
#colophon {
    padding-top:10px;
}
#footer-nav,#copyright {
    font-size:12px;
    padding-top:20px;
    margin-right: 20px;
    color:#ffffff;
    float: left;
}
#footer-nav li {
    float:left;
    margin-left:5px;
}
#footer-nav a {
    color:#ffffff;
    text-decoration:none;
}
#footer-nav li a:hover {
    color:#a0bf33;
}
#copyright a {
    color: #8db449;
    font-weight: bold;
}
#copyright  {
    padding-left:5px;
}
/* =comment */
.comment {
    float: left;
    padding-top: 40px;
    width: 720px;
}
.title-comment {
    float: left;
    width: 720px;
    height: 35px;
    line-height: 35px;
    border-bottom: #bcd6ee 1px solid;
}
.comment .left {
    color: #333333;
    font-size: 18px;
}
.comment .right {
    color: #777777;
    font-size: 14px;
    position: relative;
}
.comment .right a {
    font-size: 14px;
    text-decoration: underline;
}
#commentlist {
    margin-bottom: 40px;
}
#commentlist li {
    padding-top: 10px;
    margin-bottom: 10px;
}
#commentlist .line_h{
    border-bottom: #999999 1px dashed;
}
#commentlist li:hover {
    background: #eeeeee;
}
.comment-author p {
    font-size: 14px;
    padding-top: 8px;
}
.author-tool {
   margin-left: 10px;
   float: left;
}
.comment-item {
    color: #a0bf33;
    font-weight: bold;
}
.comment-name a{
    color: #2178c7;
    padding-left: 10px;
}
.comment-body {
    padding-left: 20px;
    padding-top: 10px;
    margin-bottom: 10px;
}
.comment-from {
  padding-top: 20px;
  padding-left: 35px;
}
.comment-from form div {
    padding-bottom: 20px;
}
.comment-from form #name, .comment-from form #mail,.comment-from form #siteurl {
    height: 22px;
    width: 350px;
    padding: 5px;
}
#comment-text {
    width: 650px;
    height: 150px;
}
.comment-submit {
    background: #eeeeee;
    border: #cccccc 1px solid;
    margin-top: 30px;
    width: 95px;
    height: 32px;
    font-weight: bold;
    cursor: pointer;
}
.comment-submit:hover {
    border: #bcd6ee 1px solid;
}
.form-allowed-tags {
    width: 680px;
    font-size: 12px;
    color: #666666;
}